namespace EntityFrameworkModel
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    public partial class hkb_RequirementBookInsurance
    {
        [Key]
        [Column(Order = 0)]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public long GuestsId { get; set; }

        [Key]
        [Column(Order = 1)]
        public Guid RequirementId { get; set; }

        public int? HavaInsuranceInfo { get; set; }

        public int? InsuranceType { get; set; }

        public int? IsInterrupted { get; set; }

        public int? PaymentType { get; set; }

        public int? PaymentYears { get; set; }

        public int? PaymentMonths { get; set; }

        public decimal? PayPerMonth { get; set; }

        public int? PayOff { get; set; }

        public int? InsurancePerson { get; set; }

        public int? InsuranceCompany { get; set; }

        public DateTime? CreateTime { get; set; }

        public DateTime? UpdateTime { get; set; }

        public virtual hkb_RequirementBook hkb_RequirementBook { get; set; }
    }
}
